package com.mingqijia.gassafety.webserver.service;

import com.gap.basic.base.CommonResponse;
import com.mingqijia.gassafety.webserver.request.console.sk.ConsoleSkDeviceListRequest;
import com.mingqijia.gassafety.webserver.request.console.sk.ConsoleSkRecordsRequest;
import com.mingqijia.gassafety.webserver.response.sk.ConsoleSkAlarmCountData;
import com.mingqijia.gassafety.webserver.response.sk.ConsoleSkDeviceListData;
import com.mingqijia.gassafety.webserver.response.sk.ConsoleSkDeviceListResponse;
import com.mingqijia.gassafety.webserver.response.sk.ConsoleSkDeviceRunStatisticsData;
import com.mingqijia.gassafety.webserver.response.sk.ConsoleSkRecordLogList;
import com.mingqijia.gassafety.webserver.response.sk.ConsoleSkRecordsData;
import java.util.List;

/**
 * 智慧厨房报警大屏
 * @author solyutian
 * @date 2023/6/27 14:41
 */
public interface ConsoleSkAlarmService {

  /**
   * 查询报警信息列表
   * @param request
   * @return
   */
  CommonResponse<ConsoleSkRecordsData> alarmRecords(ConsoleSkRecordsRequest request);

  /**
   * 获取工单七日统计
   * @param spId
   * @return
   */
  CommonResponse<List<ConsoleSkRecordLogList>> alarmRecordLogList(String spId);

  /**
   * 当日告警总数
   * @param spId
   * @return
   */
  CommonResponse<ConsoleSkAlarmCountData> alarmCount(String spId,Integer templateType);

  /**
   * 设备运行统计
   * @param spId
   * @return
   */
  CommonResponse<ConsoleSkDeviceRunStatisticsData> alarmDeviceRunStatistics(String spId);


  /**
   * 设备列表
   * @param request
   * @return
   */
  CommonResponse<ConsoleSkDeviceListData> alarmDeviceList(ConsoleSkDeviceListRequest request);

}
